/*
 * Copyright 2016 Wealth Inc. All rights reserved.
 */
 package com.wealth.platform.repository;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import com.wealth.platform.entity.MerchantRate;

import iaas.repository.BaseRepository;

/**
 * @author chan
 */
 @Repository
public interface MerchantRateDao extends BaseRepository<MerchantRate, Long> ,JpaSpecificationExecutor<MerchantRate>{

	 public MerchantRate findMerchantRateByCorpId(Long corpId);

	public MerchantRate findMerchantRateByCorpIdAndStatus(Long cropId,
			Integer status);
}

